home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / Basic / Visual Basic.60 / COMMON / TOOLS / VCM / VCM.MDB / VcmComponentContainer / 00_Cabinet / MAINFRM.H < prev    next >
Encoding:
C/C++ Source or Header  |  1998-05-18  |  2.3 KB  |  78 lines

  1. // This is part of the Microsoft Foundation Classes C++ library.
  2. // Copyright (C) 1992-1998 Microsoft Corporation
  3. // All rights reserved.
  4. //
  5. // This source code is only intended as a supplement to the
  6. // Microsoft Foundation Classes Reference and related
  7. // electronic documentation provided with the library.
  8. // See these sources for detailed information regarding the
  9. // Microsoft Foundation Classes product.
  10. //
  11. // MainFrm.h : interface of the CMainFrame class
  12. //
  13. /////////////////////////////////////////////////////////////////////////////
  14.  
  15. #if !defined(AFX_MAINFRM_H__47FF4081_CE1B_11D0_BEB6_00C04FC99F83__INCLUDED_)
  16. #define AFX_MAINFRM_H__47FF4081_CE1B_11D0_BEB6_00C04FC99F83__INCLUDED_
  17.  
  18. #if _MSC_VER >= 1000
  19. #pragma once
  20. #endif // _MSC_VER >= 1000
  21.  
  22. class CMainFrame : public CFrameWnd
  23. {
  24. protected: // create from serialization only
  25.     CMainFrame();
  26.     DECLARE_DYNCREATE(CMainFrame)
  27.  
  28. // Attributes
  29. public:
  30.     CStringArray m_astrFavoriteURLs;
  31.  
  32. // Operations
  33. public:
  34.  
  35. // Overrides
  36.     // ClassWizard generated virtual function overrides
  37.     //{{AFX_VIRTUAL(CMainFrame)
  38.     virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  39.     //}}AFX_VIRTUAL
  40.  
  41. // Implementation
  42. public:
  43.     virtual ~CMainFrame();
  44. #ifdef _DEBUG
  45.     virtual void AssertValid() const;
  46.     virtual void Dump(CDumpContext& dc) const;
  47. #endif
  48.     void SetAddress(LPCTSTR lpszUrl);
  49.     void StartAnimation();
  50.     int BuildFavoritesMenu(LPCTSTR pszPath, int nStartPos, CMenu* pMenu);
  51.  
  52. protected:  // control bar embedded members
  53.     CStatusBar  m_wndStatusBar;
  54.     CToolBar    m_wndToolBar;
  55.     CReBar      m_wndReBar;
  56.  
  57. // Generated message map functions
  58. protected:
  59.     CComboBoxEx m_wndAddress;
  60.     CAnimateCtrl m_wndAnimate;
  61.     //{{AFX_MSG(CMainFrame)
  62.     afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  63.     //}}AFX_MSG
  64.     afx_msg void DoNothing();
  65.     afx_msg void OnNewAddress();
  66.     afx_msg void OnNewAddressEnter();
  67.     afx_msg void OnFavorite(UINT nID);
  68.     afx_msg void OnDropDown(NMHDR* pNotifyStruct, LRESULT* pResult);
  69.     DECLARE_MESSAGE_MAP()
  70. };
  71.  
  72. /////////////////////////////////////////////////////////////////////////////
  73.  
  74. //{{AFX_INSERT_LOCATION}}
  75. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  76.  
  77. #endif // !defined(AFX_MAINFRM_H__47FF4081_CE1B_11D0_BEB6_00C04FC99F83__INCLUDED_)
  78.